<?php

namespace Admin\Form;

use Zend\Form\Annotation;

/**
 * @Annotation\Hydrator("Zend\Stdlib\Hydrator\ObjectProperty")
 * @Annotation\Name("form_search")
 */
class SearchForm {

    /**
     * @Annotation\Type("Zend\Form\Element\Select")
     * @Annotation\Required({"required":"true" })
     * @Annotation\Filters({"name":"StripTags"},{"name":"StringTrim"}}) 
     * @Annotation\Attributes({"id":"keySearch","class":"keySearch"})
     */
    public $keySearch;

    /**
     * @Annotation\Type("Zend\Form\Element\Text")
     * @Annotation\Required(true)
     * @Annotation\Filter({"name":"StripTags"})
     * @Annotation\Filter({"name":"StringTrim"})
     * @Annotation\Attributes({"id":"valueSearch","class":"valueSearch","placeholder":"Hãy nhập giá trị cần tìm kiếm"})
     */
    public $valueSearch;

    /**
     * @Annotation\Type("Zend\Form\Element\Submit")
     * @Annotation\Required(true)
     * @Annotation\Attributes({"value":"Tìm kiếm"})
     * @Annotation\Attributes({"id":"search","name":"search"})
     */
    public $search;

}

?>